import http from '@/api/instance'
import type { Charts } from '@/types/api'
const ENV_PREFIX = import.meta.env.VITE_GLOB_API_URL
/**
 * @name 登录模块
 */
// * 用户登录接口
export const getPieApi = () => {
  return http.get<Charts.ResPie>(
    ENV_PREFIX + `/charts/pie`,
    {},
    { headers: { noLoading: true } }
  )
}
